﻿@using System.Security.Claims

@if (User.Identity.IsAuthenticated)
{
<ul class="nav navbar-top-links navbar-right">
    <li>
        <span class="m-r-sm text-muted welcome-message" asp-controller="Manage" asp-action="Index" title="Manage">欢迎 @User.Identity.Name</span>
    </li>
    <li class="dropdown">
        <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
            <i class="fa fa-tasks"></i>  <span class="label label-warning">16</span>
        </a>
        <ul class="dropdown-menu  dropdown-alerts">
            
            <li>
                <div class="text-center link-block">
                    <a href="mailbox.html">
                        <i class="fa fa-envelope"></i> <strong>Read All Messages</strong>
                    </a>
                </div>
            </li>
        </ul>
    </li>
    <li class="dropdown">
        <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#" aria-expanded="false">
            <i class="fa fa-bell"></i>  <span class="label label-primary">8</span>
        </a>
        <ul class="dropdown-menu  dropdown-messages">

            <li>
                <div class="text-center link-block">
                    <a href="notifications.html">
                        <strong>See All Alerts</strong>
                        <i class="fa fa-angle-right"></i>
                    </a>
                </div>
            </li>
        </ul>
    </li>
    <li>
        <a class="btn btn-link navbar-btn navbar-link" asp-area="" asp-controller="Home" asp-action="LogOff">注 销</a>
    </li>
</ul>
}
else
{
    <ul class="nav navbar-top-links navbar-right">
        <li><a asp-area="" asp-controller="Account" asp-action="Register">注 册</a></li>
        <li><a asp-area="" asp-controller="Login" asp-action="Index">登 录</a></li>
    </ul>
}
